package org.dawing.shop.cart.command.handler;

import org.apache.commons.lang3.StringUtils;
import org.axonframework.commandhandling.CommandHandler;
import org.axonframework.commandhandling.gateway.CommandGateway;
import org.axonframework.commandhandling.model.Aggregate;
import org.axonframework.commandhandling.model.Repository;
import org.dawing.shop.cart.command.aggregate.CartAggregate;
import org.dawning.shop.common.commands.cart.AddToCartCommand;
import org.dawning.shop.common.commands.cart.CreateCartCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/6/14.
 */
@Component
public class CartHandler {

    @Autowired
    private Repository<CartAggregate> cartAggregateRepository;

    @Autowired
    private CommandGateway commandGateway;


}
